package io.cucumber.core.runner;

import io.cucumber.core.gherkin.Argument;
import io.cucumber.core.gherkin.Step;
import io.cucumber.core.gherkin.StepType;
import io.cucumber.plugin.event.Location;

public class NoStep implements Step {

    private String text;

    public NoStep(String text) {
        this.text = text;
    }

    @Override
    public Argument getArgument() {
        return null;
    }

    @Override
    public String getKeyword() {
        return "";
    }

    @Override
    public String getText() {
        return text;
    }

    @Override
    public int getLine() {
        return 0;
    }

    @Override
    public Location getLocation() {
        return new Location(-1, -1);
    }

    @Override
    public StepType getType() {
        return StepType.OTHER;
    }

    @Override
    public String getPreviousGivenWhenThenKeyword() {
        return "";
    }

    @Override
    public String getId() {
        return "";
    }
}
